package com.qyhl.module_practice.order.mine;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeOrderBean;

import java.util.List;

public class PracticeOrderMinePresenter implements PracticeOrderMineContract.PracticeOrderMinePresenter {
    private PracticeOrderMineActivity mView;
    private PracticeOrderMineModel mModel;

    PracticeOrderMinePresenter(PracticeOrderMineActivity mView) {
        this.mView = mView;
        this.mModel = new PracticeOrderMineModel(this);
    }


    @Override
    public void getList(String volId, String page) {
        mModel.getList(volId,page);
    }

    @Override
    public void getPublic(String phone, String page) {
        mModel.getPublic(phone,page);
    }

    @Override
    public void setList(List<PracticeOrderBean> beanList, boolean isMore) {
      mView.setList(beanList,isMore);
    }

    @Override
    public void setError(String msg, boolean isMore) {
       mView.setError(msg,isMore);
    }
}
